package com.xiaoq.push.entity;

import org.mongodb.morphia.annotations.Entity;
import com.xiaoq.MongoEntity;

@Entity(value="msg_catalogues_collection", noClassnameStored=true) // 采用Morphia作为mongo client时
public class MsgCatalogueEntity extends MongoEntity {

	private String msgCatalogueCode; // 消息目录代码
									// 1:系统通知;2:小店通知;3:小店优惠促销活动;4:小站分享;5:环信消息

	private String msgCatalogueName; // 消息目录名称:
										// 1:系统通知;2:小店通知;3:小店优惠促销活动;4:小站分享;5:聊天消息

	private String thumbnailUrl; // 消息目录的图片url

	private String titleOfLastMsg; // 当前分类下的最后一条消息的标题（or 暂无新消息）

	private Long receivedTimeOfLastMsg; // 当前分类下的最后一条消息的接收时间

	

	public String getMsgCatalogueCode() {
		return msgCatalogueCode;
	}

	public void setMsgCatalogueCode(String msgCatalogueCode) {
		this.msgCatalogueCode = msgCatalogueCode;
	}

	public String getMsgCatalogueName() {
		return msgCatalogueName;
	}

	public void setMsgCatalogueName(String msgCatalogueName) {
		this.msgCatalogueName = msgCatalogueName;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

	public String getTitleOfLastMsg() {
		return titleOfLastMsg;
	}

	public void setTitleOfLastMsg(String titleOfLastMsg) {
		this.titleOfLastMsg = titleOfLastMsg;
	}

	public Long getReceivedTimeOfLastMsg() {
		return receivedTimeOfLastMsg;
	}

	public void setReceivedTimeOfLastMsg(Long receivedTimeOfLastMsg) {
		this.receivedTimeOfLastMsg = receivedTimeOfLastMsg;
	}
	
	
}
